{{features = db((db.feature.active=='True') & (db.feature.menu=='main')).select(db.feature.id, db.feature.title, orderby=db.feature.title)}}
{{counter = 0}}
<div id="nav_aria" style="text-align: right;">
    <h2 class="nav" id="nav_aria_label">Site Menu</h2>
    <ul id="navigation1" role="navigation" aria-labelledby="nav_aria_label" tabindex="-1">
{{for feature in features:}}{{if counter == 0:}}[{{else:}} |{{pass}}{{=LI(A(T('feature.title'), _href=URL(r=request,c=feature.title, f='index')))}}{{counter =+ 1}}{{pass}} ]
    </ul>
</div>
